<template>
  <!-- vue3组件中的模板结构可以没有根标签div -->
  <div class="app">
    <h3>我是App组件（祖）</h3>
    <Child></Child>
  </div>
</template>

<script>
import Child from "./components/Child";

export default {
  name: "App",
  // eslint-disable-next-line vue/no-unused-components
  components: { Child },
};
</script>

<style>
.app {
  background-color: gray;
  padding: 10px;
}
</style>
